package com.cbgolf.oa.entity;

import java.io.Serializable;
import java.util.List;

/**
 * @author lq
 * @date 2018/5/11
 */

public class StatisticsInfo implements Serializable {

  public String seatNumber;
  public String carStatus;
  public String usedCount;
  public String carId;
  public String carTypeName;
  public String carNumber;
  ///
  public String usable;
  public String customerCount;
  public String levelName;
  public String caddieId;
  public String phone;
  public String departmentName;
  public String caddieName;
  public String headPic;

  public String userId;
  public String courseId;
  public String userName;
  public String identityType;
  public String lng;
  public String lat;

  public List<CaddieBean> caddieInfo;

//  public class Caddie implements Serializable {
//
//    public List<CustomBean> customerInfo;
//    public String identityType;
//    public String userId;
//    public String userName;
//    public String levelName;
//    public String phone;
//    public String outletName;
//
////    public class Custom {
////
////      public String customerCardNumber;
////      public String customerId;
////      public String customerCardId;
////      public String name;
////      public String courseCar;
////      public String hole;
////    }
//
////    public Custom getCustom() {
////      return new Custom();
////    }
//
//  }

//  public Caddie getCaddie() {
//    return new Caddie();
//  }

  public class Customer implements Serializable {

    public String customerId;
    public String name;
    public String customerCardId;
    public String customerCardNumber;
    public String hole;
    public String courseCar;
  }

  public Customer getCustomer() {
    return new Customer();
  }

  public List<Customer> customerInfo;

  public static class Builder implements Serializable {

    StatisticsInfo bean;

    public Builder() {
      bean = new StatisticsInfo();
    }

    public Builder setUserId(String id) {
      bean.userId = id;
      return this;
    }

    public Builder setCourseId(String id) {
      bean.courseId = id;
      return this;
    }

    public Builder setUserName(String id) {
      bean.userName = id;
      return this;
    }

    public Builder setLevelName(String id) {
      bean.levelName = id;
      return this;
    }

    public Builder setPhone(String id) {
      bean.phone = id;
      return this;
    }

    public Builder setHeadPic(String id) {
      bean.headPic = id;
      return this;
    }
    public Builder setDepartmentName(String id) {
      bean.departmentName = id;
      return this;
    }
    public Builder setCustomerCount(String id) {
      bean.customerCount = id;
      return this;
    }

    public Builder setIdentityType(String id) {
      bean.identityType = id;
      return this;
    }

    public Builder setLng(String id) {
      bean.lng = id;
      return this;
    }

    public Builder setLat(String id) {
      bean.lat = id;
      return this;
    }

    public Builder setListCustomers(List<Customer> list) {
      bean.customerInfo = list;
      return this;
    }

    public StatisticsInfo build() {
      return bean;
    }
  }


}
